import http from '../../utils/request'

export function getExamInfo() {
  return http.request({
    url: '/teacher/allExamInfo',
    method: 'get',
  })
}

export function ExamRecords(params: any) {
  const { pageNo, pageSize, username } = params
  return http.request({
    url: `/student/getMyGrade`,
    method: 'get',
    params: {
      pageNo,
      pageSize,
      username,
    },
  })
}
